var list_invoice_item_template = 
	kendo.template("<a href='site/invoiceDetail?id=#= invoiceId #' style='float:left;width:100%;'>" +
    	"<div style='margin: 4px;float:left;>" +
        "<span class='invoice-list-code'>#= invoiceCode #" +
             
        "<div >" + 
            "<span >#= formatDate(invoiceDate) #</span>"+
        "</div>" +
          
        
        "</div>"+
      "<div style='float:right;margin-right: 22px;margin-top: 4px;'>"+
        
        "<span style='float:right' >#= customerName #</span>\n\
<span style='margin-right:4px;margin-left:4px;'></span>"
+"</br>"+"<span  class='invoice-list-amount' style='float:right'>#= formatAmount(amount) #</span>" +
        "</div>"+   
    "</a>");

var list_order_item_template = 
	kendo.template("<a href='site/orderDetail?id=#= orderId #'>" +
    	"<div style='margin: 4px;'>" +
        "<span class='invoice-list-code' >#= orderCode #" +
        "<div>" + 
            "<span style='display: inline-block;'>#= customerName #</span><span style='margin-right:4px;margin-left:4px;'>|</span><span  class='invoice-list-amount'>#= formatAmount(amount) #</span>" +
        "</div>" +
        "</div>" +
    "</a>");
    
    
    
var list_shop_item_template = 
	kendo.template
    ("<a href='site/shop?id=#= locationId #' style='float:left;width:100%;'>" +
    	"<div style='margin: 4px;float:left;>" +
        "<span class='invoice-list-code'><img width='50px' height='50px'  src='#= get_img()#' />" +
             
        "<div >" + 
           
        "</div>" +
          
        
        "</div>"+
      "<div style='float:none;margin-right: 22px;margin-top: 15px;'>"+
        
        "<span style='float:none' >#= locationName #</span>\n\
<span style='margin-right:4px;margin-left:4px;'></span>"
+"</br>" +
        "</div>"+   
    "</a>")
    
   